Quickbook API
Requesting a pickup time estimation
POST /quote/time
Description
Get a pickup estimation for ASAP bookings (request without the pickup_dt
parameter) based on a specified location using latitude and longitude coordinates.
Important: In the sandbox environment, all estimates will not reflect a true performance value but static times instead.
Authorization
The Authorization header carried the API access token in the format AL client_id:client_secret
. Please see Security page for more information.
Content Type
application/json
Request
Please refer to the Requesting a price quote page.
Response
{
"times": [
{
"service": "standard_car",
"eta": "00:21:00"
},
{
"service": "vip",
"eta": "00:25:00"
}
]
}
Parameters | Description |
---|---|
times | Array of quotes containing the ETA per service |
service | Service name |
eta | Driver ETA |